package com.qzdsoft;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class JWTProperties
{
    //获取application.properties的属性
    @Value("${jwt.base64Security}")
    private String base64Security;

    @Value("${jwt.tokenExpriseTime}")
    private int tokenExpriseTime;

    public String getBase64Security()
    {
        return base64Security;
    }

    public void setBase64Security(String base64Security)
    {
        this.base64Security = base64Security;
    }

    public int getTokenExpriseTime()
    {
        return tokenExpriseTime;
    }

    public void setTokenExpriseTime(int tokenExpriseTime)
    {
        this.tokenExpriseTime = tokenExpriseTime;
    }
    
    

    
}
